package com.liurz.mongdb.service;
import com.liurz.mongdb.model.Sensor;
import com.liurz.mongdb.vo.ResultModel;

public interface SensorService  {

    ResultModel save(Sensor sensor);

    ResultModel getSensorById(String id);

    ResultModel deleteSensor(String id);

    ResultModel getSensorList() throws Exception;


}
